package org.jeecg.modules.zcgl.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.common.system.base.entity.DelFlagBaseEntity;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;

/**
 * @Description: 区域信息
 * @Author: jeecg-boot
 * @Date:   2020-08-11
 * @Version: V1.0
 */
@Data
@TableName("zcgl_region")
@ApiModel(value="zcgl_region对象", description="区域信息")
public class Region extends DelFlagBaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

	/**区域编码*/
	@Excel(name = "区域编码", width = 15)
	@ApiModelProperty(value = "区域编码")
	private String regionCode;
	/**父区域ID*/
	@Excel(name = "父区域ID", width = 15, dictTable = "zcgl_region", dicText = "region_name", dicCode = "id")
	@Dict(dictTable = "zcgl_region", dicText = "region_name", dicCode = "id")
	@ApiModelProperty(value = "父区域ID")
	private String parentId;
	/**区域名称*/
	@Excel(name = "区域名称", width = 15)
	@ApiModelProperty(value = "区域名称")
	private String regionName;
	/**排序*/
	@Excel(name = "排序", width = 15)
	@ApiModelProperty(value = "排序")
	private Integer regionOrder;
	/**描述*/
	@Excel(name = "描述", width = 15)
	@ApiModelProperty(value = "描述")
	private String description;

	/**状态（1启用，0不启用）*/
	@Excel(name = "状态（1启用，0不启用）", width = 15, dicCode = "yn")
	@Dict(dicCode = "yn")
	@ApiModelProperty(value = "状态（1启用，0不启用）")
	private String status;

}
